Joomla!® Templates (Shawn Kahl's Library) by Angie Radtke
Author:Angie Radtke
Language: eng
Format: epub
Publisher: Addison-Wesley Professional
Published: 2013-10-15T00:00:00+00:00
type=âradioâ Radio Buttons
Using radio buttons makes sense if you want to offer several options from which the user can choose only one. This is recommended for yes-or-no questions. You could imagine the following scenario for using radio buttons within a template:
Do you want to display the logo? Yes/No
The corresponding field would look like this:
Click here to view code image
<field name="displaylogo"
type="radio" default="1"
label=" TPL_BEEZ2_FIELD_DISPLAYLOGO_LABEL "
description="TPL_BEEZ2_FIELD_DISPLAYLOGO_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
where the default value is set to 1 and therefore yes. In the index.php file, you can access its value with
Click here to view code image
$this->params->get(' displaylogo ');
and respond accordingly.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(7755)
Robo-Advisor with Python by Aki Ranin(7653)
Offensive Shellcode from Scratch by Rishalin Pillay(6119)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(5057)
Ego Is the Enemy by Ryan Holiday(4960)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4440)
Python for ArcGIS Pro by Silas Toms Bill Parker(4195)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(3902)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(3641)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3286)
Speed Up Your Python with Rust by Maxwell Flitton(3232)
Liar's Poker by Michael Lewis(3228)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3195)
Extreme DAX by Michiel Rozema & Henk Vlootman(3176)
Agile Security Operations by Hinne Hettema(3125)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3110)
Essential Cryptography for JavaScript Developers by Alessandro Segala(3083)
Cryptography Algorithms by Massimo Bertaccini(3002)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(2985)
